﻿namespace RpcCentral.Model
{
    public class VerRoute
    {
        public long SystemTypeId
        {
            get;
            set;
        }
        public long BeginVer
        {
            get;
            set;
        }
        public long EndVer
        {
            get;
            set;
        }

        public bool IsValid (long ver)
        {
            return ver >= this.BeginVer && ver <= this.EndVer;
        }
    }
}
